package org.example.model;

import lombok.Data;

/**
 * @author by PengHongChao
 * @date 2025/6/26 14:21
 */
@Data
public class TaskExecution {
    private Long id;
    private String source;
    private String target;
    private Integer progress;
    private String status;
    private Long duration;

    public TaskExecution(Long id, String source, String target,
                         Integer progress, String status, Long duration) {
        this.id = id;
        this.source = source;
        this.target = target;
        this.progress = progress;
        this.status = status;
        this.duration = duration;
    }
}
